from django.shortcuts import render

# Create your views here.
from rest_framework.views import APIView
from django.shortcuts import redirect

class LoginAPI(APIView):
    """"""
    def get(self, request):
        return render(request, 'login.html')


    def post(self):
        print("1")